#![allow(dead_code)]

struct DropLrn {}

impl DropLrn {
    pub fn hello() {
        println!("Drop learning!");
    }
}

#[cfg(test)]
mod tests {
    // use super::*;
    #[test]
    #[allow(unused_variables)]
    fn test_drop() {
        struct HasDrop;
        impl Drop for HasDrop {
            fn drop(&mut self) {
                println!("Drop HasDrop!");
            }
        }

        struct HasTwoDrops {
            one: HasDrop,
            two: HasDrop,
        }
        impl Drop for HasTwoDrops {
            fn drop(&mut self) {
                println!("Drop HasTwoDrops!");
            }
        }

        let x = HasTwoDrops {
            one: HasDrop,
            two: HasDrop,
        };
        println!("Running!");
    }
}
